/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package org.devs.benchmark.modeling;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlType;

/**
 *
 * @author Alejandro Moreno
 */

@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "MessageType", propOrder = {
    "value"
})

public class MessageType {

    @XmlAttribute(name = "port")
    protected String port;
    protected Object value;

    public MessageType(){

    }

    public MessageType(String port, Object value){
        this.port = port;
        this.value = value;

    }

    public String getPort() {
        return port;
    }

    public void setPort(String port) {
        this.port = port;
    }

    public Object getValue() {
        return value;
    }

    public void setValue(Object value) {
        this.value = value;
    }

    

}
